import request from '@/utils/request/index.js'
export default {	
	query(page,limit,userId,delFlag){
		return request.request({
			url : '/h5/nocdemand/list',
			method: 'post',
			data: {
				page: page,
				limit: limit,
				userId: userId,
				delFlag:delFlag
			}
		})
	},
	demandManage(url,checkedArr){
		return request.request({
			url: url,
			method : 'post',
			data: checkedArr
			
		})
	},
	delDemand(demandId){
		return request.request({
			method: 'post',
			url: '/h5/nocdemand/update',
			data: {
					id: demandId,
					delFlag: 1
				},
		})
	}
	
	
	
}